package com.bootdo.common.vo;

import java.io.Serializable;
import java.util.Date;

public class GpsInfo implements Serializable {
    //经度
    private double lon;
    //维度
    private double lat;

    private Long times;

    public GpsInfo() {
        this.times = new Date().getTime() / 1000;
    }

    public double getLon() {
        return lon;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public Long getTimes() {
        return times;
    }

    public void setTimes(Long times) {
        this.times = times;
    }

    @Override
    public String toString() {
        return "GpsInfo [lon=" + lon + ", lat=" + lat + ", times=" + times + "]";
    }
}
